/**
 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.vijayan.profile.model;

import com.liferay.portal.kernel.annotation.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the MyPhoto service. Represents a row in the &quot;kalyan_photo&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.vijayan.profile.model.impl.MyPhotoModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.vijayan.profile.model.impl.MyPhotoImpl}.
 * </p>
 *
 * <p>
 * Never modify or reference this interface directly. All methods that expect a my photo model instance should use the {@link MyPhoto} interface instead.
 * </p>
 *
 * @author vijayan
 * @see MyPhoto
 * @see com.vijayan.profile.model.impl.MyPhotoImpl
 * @see com.vijayan.profile.model.impl.MyPhotoModelImpl
 * @generated
 */
public interface MyPhotoModel extends BaseModel<MyPhoto> {
	/**
	 * Gets the primary key of this my photo.
	 *
	 * @return the primary key of this my photo
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this my photo
	 *
	 * @param pk the primary key of this my photo
	 */
	public void setPrimaryKey(long pk);

	/**
	 * Gets the photo id of this my photo.
	 *
	 * @return the photo id of this my photo
	 */
	public long getPhotoId();

	/**
	 * Sets the photo id of this my photo.
	 *
	 * @param photoId the photo id of this my photo
	 */
	public void setPhotoId(long photoId);

	/**
	 * Gets the profile id of this my photo.
	 *
	 * @return the profile id of this my photo
	 */
	public long getProfileId();

	/**
	 * Sets the profile id of this my photo.
	 *
	 * @param profileId the profile id of this my photo
	 */
	public void setProfileId(long profileId);

	/**
	 * Gets the content of this my photo.
	 *
	 * @return the content of this my photo
	 */
	@AutoEscape
	public String getContent();

	/**
	 * Sets the content of this my photo.
	 *
	 * @param content the content of this my photo
	 */
	public void setContent(String content);

	/**
	 * Gets the width of this my photo.
	 *
	 * @return the width of this my photo
	 */
	public int getWidth();

	/**
	 * Sets the width of this my photo.
	 *
	 * @param width the width of this my photo
	 */
	public void setWidth(int width);

	/**
	 * Gets the height of this my photo.
	 *
	 * @return the height of this my photo
	 */
	public int getHeight();

	/**
	 * Sets the height of this my photo.
	 *
	 * @param height the height of this my photo
	 */
	public void setHeight(int height);

	/**
	 * Gets the type of this my photo.
	 *
	 * @return the type of this my photo
	 */
	@AutoEscape
	public String getType();

	/**
	 * Sets the type of this my photo.
	 *
	 * @param type the type of this my photo
	 */
	public void setType(String type);

	/**
	 * Gets the thumbnail of this my photo.
	 *
	 * @return the thumbnail of this my photo
	 */
	public boolean getThumbnail();

	/**
	 * Determines whether this my photo is thumbnail.
	 *
	 * @return whether this my photo is thumbnail
	 */
	public boolean isThumbnail();

	/**
	 * Sets whether this {$entity.humanName} is thumbnail.
	 *
	 * @param thumbnail the thumbnail of this my photo
	 */
	public void setThumbnail(boolean thumbnail);

	/**
	 * Gets a copy of this my photo as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
	 *
	 * @return the escaped model instance
	 * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
	 */
	public MyPhoto toEscapedModel();

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public void setEscapedModel(boolean escapedModel);

	public Serializable getPrimaryKeyObj();

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(MyPhoto myPhoto);

	public int hashCode();

	public String toString();

	public String toXmlString();
}